/**
 * Created by kroyo on 2017/8/11.
 * 用户中心页-资料
 */
@charset "utf-8";
@import "common/minxincommon";




.user-center{
    //必填提示
    .hint{
        top:35px;
        left:96px;
    }
    .hint.headhint{
        left:130px;
    }
}

// btn  hover 效果
.btnhover{
    position: relative;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    &:before{
        position: absolute;
        top: 0;
        display: block;
        content: '';
        background: rgba(255, 255, 255, 0.3);
        width: 100%;
        height: 100%;
        opacity: 0;
    }
}

//增删   按钮样式
.btn-wrap{
    font-size:0;
    .btn{
        position: relative;
        width:60px;
        height:26px;
        text-align: center;
        color: #fff;
        margin-right: 20px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        background:rgba(30,135,242,1);
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
        &:before{
            position: absolute;
            top:0;
            display: block;
            content: '';
            background:rgba(255,255,255,.3);
            width:100%;
            height:100%;
            opacity:0;
        }
        &:hover{
            &:before{
                opacity:1;
            }
        }
    }
    //删除按钮
    .btn-del{
        background-color: #e6021d;
    }
}

//文字居中
.text-center{
    text-align: center;
}
//table 添加add 行
.line-add{
    text-align: center;
    div{
        position: relative;
        display: inline-block;
        padding-left: 25px;
        cursor: pointer;
        &:before{
            position: absolute;
            top:4px;
            left:0;
            display: block;
            content: '';
            width:14px;
            height:14px;
            background: url(../img/user/add.png) no-repeat center;
            vertical-align: middle;
        }
    }
}

.ver-mid{
    vertical-align: -10px;
}


//右侧
.user-content{
    background: #fff;
}

//1.用户资料
.content-info{
    display: block;
    width:100%;
    .info-detail{
        position: relative;
        padding-right: 52px;
        padding-bottom: 30px;
        .w-185{
            width: 178px;
        }
        //每行公共的样式
        .list{
            margin-top: 20px;
            font-size:0;
        }
        //左侧标题文字  head
        .head{
            width:128px;
            padding-right: 15px;
            text-align: right;
        }
        //p 标签中有span的样式
        .padding-s{
            padding-right: 9px;
        }
        p{
             display: inline-block;
             font-size: 14px;
             color: $fontcolor;
             span{
                 color: red;
             }
        }
        .p-95{
            width:95px;
            text-align: right;
            padding-right: 10px;
        }
        .company-user{
            p{
                padding-right: 15px;
            }
        }
        input,select{
            height:36px;
            line-height: 36px;
            border:1px solid #cccccc;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            padding:0 10px;
            vertical-align: bottom;
            font-size: 14px;
        }
        .list1,.list2,.list3{
            height: 36px;
            &>div{
                position: relative;
                float: left;
                font-size:0;
            }
            p{
                height: 36px;
                line-height: 36px;
            }
        }
        //list1
        .list1,.list2{
            .text,.address{
                position: relative;
                display: block;
                width:100%;
                height:100%;
                padding: 0 10px;
                cursor: pointer;
                background: transparent;
                z-index:2;
            }
            .selectOff{
                position: absolute;
                top: 12px;
                width: 12px;
                height: 12px;
                font-size:0;
                background: url(../img/user/se-down.png) no-repeat center;
                @include transition;
            }
            .select.active,.select-city.active{
                .selectOff{
                    -webkit-transform: rotate(180deg);
                    -moz-transform: rotate(180deg);
                    -ms-transform: rotate(180deg);
                    -o-transform: rotate(180deg);
                    transform: rotate(180deg);
                }
            }
            .list-down,.addresslist{
                display: none;
                position: absolute;
                top: 40px;
                left: 95px;
                width: 148px;
                height: 180px;
                background: #fff;
                z-index:4;
                @include borradius;
                -webkit-box-shadow: 0px 5px 20px rgba(0,0,0,.3);
                -moz-box-shadow: 0px 5px 20px rgba(0,0,0,.3);
                box-shadow: 0px 5px 20px rgba(0,0,0,.3);
                overflow: hidden;
                li{
                    width:100%;
                    height: 36px;
                    line-height: 36px;
                    font-size: 14px;
                    padding-left: 10px;
                    color: #666;
                    cursor: pointer;
                }
                li:hover{
                    background-color: #daecff;
                }
                li.active{
                    color: #fff;
                    background-color: $color-active;
                }
            }
        }
        .list1{
            position: relative;
            .select{
                position: relative;
                display: inline-block;
                width:148px;
                height:36px;
                line-height: 36px;
                @include borradius;
                font-size: 14px;
                color: #666666;
            }
            .date{
                width: 165px;
            }
            .selectOff{
                right: 10px;
            }
            .tran-date .selectOff{
                transition: none;
                background-image: url(../img/user/icon-date.png);
            }
            .tran-date .select.active{
                .selectOff{
                    -webkit-transform: none;
                    -moz-transform: none;
                    -ms-transform: none;
                    -o-transform: none;
                    transform: none;
                }
            }
            .date-wrap{
                position: absolute;
                top: 40px;
                left: 667px;
            }
        }
        //list2
        .list2{
            .address{
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
            .addresslist{
                width: auto;
                height: 200px;
                top: 98px;
                left: 424px;
                background: transparent;
                ul{
                    float: left;
                    height:100%;
                    background: #fff;
                    -webkit-box-shadow: 0px 5px 20px rgba(0,0,0,.3);
                    -moz-box-shadow: 0px 5px 20px rgba(0,0,0,.3);
                    box-shadow: 0px 5px 20px rgba(0,0,0,.3);
                    @include borradius;
                    overflow: auto;
                }
                .first{
                    width: 218px;
                }
                .second,.third{
                    display: none;
                    width:150px;
                    margin-left: 5px;
                    //@include transition;
                }
            }
        }
        .company-site{
            p{
                vertical-align: middle;
            }
            .select-city{
                display: inline-block;
                line-height: 36px;
                margin-right: 10px;
                @include borradius;
                font-size: 14px;
                color: #666666;
                vertical-align: middle;
            }
            .selectOff{
                left: 290px;
            }
        }
        //list3
        //设置密码
        .set-password{
            width:90px;
            height:36px;
            background-color: #1E87F2;
            color: #fff;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            margin-left: 10px;
            &:hover:before{
                opacity: 1;
            }
        }
        //上传公司标志
        .upload-logo{
            position: absolute;
            top:0;
            right:52px;
            .company-logo{
                width:100px;
                height:100px;
                overflow: hidden;
                img{
                    width:100%;
                    text-align: center;
                }
            }
            .btn-upload{
                display: inline-block;
                width:100px;
                height:36px;
                line-height: 36px;
                background-color: #1E87F2;
                color: #fff;
                font-size: 14px;
                -webkit-border-radius: 2px;
                -moz-border-radius: 2px;
                border-radius: 2px;
                margin-top: 12px;
                text-align: center;
                &:hover:before{
                    opacity: 1;
                }
            }
        }
        //list4 公司性质
        .nature-company,.dist-channel{
            font-size:0;
            line-height: 24px;
            p{
                vertical-align: middle;
            }
            input{
                height: 24px;
            }
            //清除check-wrap 的浮动
            .check-wrap{
                vertical-align: middle;
                .check-text{
                    font-size: 14px;
                }
            }
        }
        //销售渠道
        .dist-channel{
            height: 36px;
            line-height: 36px;
            .sale-m{
                float: none;
                display: inline-block;
                width:280px;
                height:36px;
                border:1px solid #999999;
                font-size: 0;
                margin-right: 10px;
            }
            label.title{
                font-size:14px;
                margin-left: 10px;
                margin-right: 20px;
                vertical-align: middle;
            }
            input{
                vertical-align: middle;
            }
        }
        //营业品类*
        .company-activity{
            position: relative;
            .hint{
                top: 140px;
            }
            .headhint{
                bottom: -10px;
            }
            &>div{
                float: right;
            }
            .first-line{
                background:$bgtr;
                height:40px;
                line-height: 40px;
                text-align: center;
                color: #333333;
                font-size: 14px;
                td{
                    padding:0;
                }
            }
            table{
                width: 820px;
                font-size: 14px;
            }
            table,tr,td{
                border:1px solid #ccc;
                color: #666666;
            }
            td{
                padding: 10px 19.5px 10px;
            }
            .datalist{
                height: auto;
                .w-380{
                    //自动换行
                    word-wrap:break-word;
                    word-break:break-all;
                }
            }
            //四个操作按钮
            .nth-second{
                padding-right: 0;
                font-size:0;
            }
        }
        //公司介绍
        .company-intro{
            textarea{
                float: right;
                width: 820px;
                height: 150px;
                resize: none;
                padding: 10px;
                font-size: 14px;
                font-family: 'Microsoft YaHei','Helvetica Neue','Helvetica','PingFang SC','Heiti SC','SimSun','sans-serif';
            }
        }
        //公司详情
        .company-detail{
            .head{
                vertical-align: top;
            }
            .detaillist{
                display: inline-block;
            }
        }
        //银行卡
        .bank-card{
            td{
                width:273.2px;
                height:40px;
                text-align: center;
            }
            input{
                width:100%;
                height:100%;
                border: none;
                text-align: center;
            }
        }
        //联系人、等公共样式
        .bank-card,.link-man,.company-cert{
            &>div{
                float: right;
                width:820px;
                overflow: hidden;
            }
            .first-line{
                font-weight:bold;
                color: #333333;
            }
        }
        //联系人
        .link-man{
            td{
                height:40px;
                padding:0 15px;
                font-size:14px;
                color: #333333;
            }
            .nth-second{
                font-size:0;
                padding-left: 19px;
                padding-right: 0;
            }
            .btn-bind.active{
                &:before{
                    display: none;
                }
                cursor: not-allowed;
                color: #333333;
                background-color: #eeeeee;
            }
            .col-weixin{
                span{
                    line-height: 40px;
                }
                .weixin-code{
                    cursor: pointer;
                    img{
                        display: block;
                        width:26px;
                        height:26px;
                        vertical-align: middle;
                        margin:0 auto;
                    }
                }
            }
        }
        //组织机构代码
        .company-orcode{
            .head{
                vertical-align: top;
                padding-top: 10px;
            }
            input{
                width:360px;
                height:36px;
                padding:0 10px;
            }
        }
        //认证证件
        .company-cert{
            table{
                font-size: 14px;
            }
            td{
                width:205px;
                height:40px;
                text-align: center;
            }
            .btn-wrap{
                padding-left: 22px;
                font-size: 0;
                a.btn{
                    display: inline-block;
                    font-size: 14px;
                    line-height:26px;
                }
                .btn{
                    vertical-align: middle;
                }
            }
        }
    }
    .btn-list{
        width:820px;
        margin-right: 52px;
        margin-bottom: 30px;
        text-align: center;
        button{
            width:100px;
            height:40px;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            color: #fff;
            cursor: not-allowed;
        }
        button.active{
            cursor: pointer;
            background-color: $color-active;
            &:hover:before{
                opacity: 1;
            }
        }
    }
}



//3.弹窗部分
.btn-pdemand{
    width:120px;
    height:40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    margin-top:15px;
    margin-right:50px;
    background-color:$color-active;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
.p-window{
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,.3);
    z-index: 999;
    .set{
        position: relative;
        font-size:0;
        margin-top:20px;
        span,input{
            font-size: 14px;
        }
        input{
            width:200px;
            height: 36px;
            padding:0 10px;
            margin-left: 10px;
            border:1px solid #ccc;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
        }
    }
    //确定
    .btn-t{
        width:72px;
        height:36px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        background-color: $color-active;
    }
    //取消
    .btn-reset{
        color: #ccc;
        border:1px solid #ccc;
        background-color: transparent;
        &:hover{
            color: $color-active;
            border-color: $color-active;
        }
    }
    .red{
        width:auto;
        color: red;
    }
    //关闭按钮
    .btn-close{
        position: absolute;
        top:18px;
        right:18px;
        width:16px;
        height: 16px;
        cursor: pointer;
        background: url(../img/user/btn-close.png) no-repeat center;
        &:hover{
            background-image: url(../img/user/btn-closeactive.png);
        }
    }
}
//密码问题
.password-w{
    width:400px;
    margin-top:215px;
    margin-left:452px;
    padding:20px 60px 30px 20px;
    background-color: #fff;
    color: #333333;
    @include borradius;
    .btn-wrap{
        margin-top:30px;
    }
    label{
        left: 85px;
    }
}
//3.1重置密码
.modpassword{
    height:300px;
}
//3.2设置密码
.setpassword{
    height: 245px;
}

//3.4添加联系人
.add-contact{
    position: relative;
    width:380px;
    height:380px;
    background-color: #fff;
    text-align: center;
    margin-top:215px;
    margin-left:525px;
    .set{
        input{
            width: 236px;
        }
    }
    h4{
        font-size: 16px;
        color: #333333;
        font-weight:blod;
        padding-top: 26px;
        padding-bottom: 10px;
    }
    .contact-wrap{
        span{
            display: inline-block;
            width: 35px;
            text-align: left;
        }
        .red{
            width:auto;
            color: red;
        }
    }
    .btn-wrap{
        margin-top:30px;
        text-align: center;
        button{
            width:236px;
            height: 36px;
            margin-right:50px;
        }
    }
}

//3.5上传文件
.upload-file{
    position: relative;
    width:420px;
    height:440px;
    background-color: #fff;
    color: #333333;
    @include borradius;
    margin-top:160px;
    margin-left:510px;
    text-align: center;
    padding-top: 25px;
    .set{
        span{
            display: inline-block;
            width: 65px;
            text-align: left;
            margin-right:10px;
            color: #666666;
        }
        .red{
            width:auto;
            color: red;
            margin-right: 0;
        }
        .file-name{
            width: 248px;
            height: 36px;
            margin-left: 0;
        }
    }
    .select{
        width: 248px;
        height:36px;
        border:1px solid #ccc;
        @include borradius;
        padding: 0 10px;
    }
    textarea{
        width: 248px;
        height:80px;
        resize: none;
        font-size: 14px;
        padding: 8px 10px ;
        font-family:'microsoft yahei';
    }
    .text{
        vertical-align: top;
    }
    .upfile-wrap{
        position: relative;
        margin-right: 135px;
        div{
            display: inline-block;
            cursor: pointer;
        }
        .up-file{
            width: 90px;
            height: 36px;
            color: #fff;
        }
        .fileinput{
            position: absolute;
            top:0;
            left: 115px;
            display: inline-block;
            width:90px;
            height: 36px;
            opacity:0;
            cursor: pointer;
        }
    }
    .state{
        font-size: 12px;
        color: #cccccc;
        margin:18px 0;
    }
    .btn-up{
        width: 248px;
        margin-right:48px;
    }
}

//3.6删除提醒
.po-alert{
    width:400px;
    height:160px;
    background-color: #fff;
    color: #666666;
    padding:30px 0;
    margin:250px auto 0;
    @include borradius;
    .title{
        width: 190px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        text-align: right;
        background: url(../img/user/alert.png) no-repeat left;
        margin:0 auto;
    }
    .btn-list{
        width:180px;
        margin:15px auto 0;
    }
    button{
        width: 72px;
        height: 36px;
        border:1px solid #CCCCCC;
        @include borradius;
    }
    .btn-re{
        color: #666666;
        background: transparent;
        &:hover{
            color: $color-active;
            border-color: $color-active;
        }
    }
    .btn-conf{
        color: #fff;
        background: $color-active;
        border: none;
        &:hover{
            background:$hovercolor;
        }
    }
}



//3.7 添加品类
.win-category #container-other{
    position: relative;
    height: 100%;
}
.category-wrap{
    // 垂直水平居中
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    margin:auto;
    width: 1000px;
    height: 600px;
    background: #fff;
    @include borradius;
    padding:20px;
    color: #333333;
    h4{
        font-size: 16px;
        color: #333333;
    }
    .btn-close{
        top: 20px;
        right: 20px;
    }
    .category{
        //单选按钮
        .radio-wrap{
            width: 100%;
            height: 100%;
            font-size: 0;
            label{
                display: inline-block;
                width: 142px;
                font-size: 14px;
                padding-left: 10px;
                vertical-align: middle;
                cursor: pointer;
            }
        }
        .radio-wrap:hover {
            .border {
                border-color: #20a0ff;
            }
        }
        .radio_btn {
            position: relative;
            display: inline-block;
            width: 16px;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            font-size: 0;
            background: transparent;
            cursor: pointer;
            input {
                position: relative;
                width: 100%;
                height: 100%;
                z-index: 99;
                opacity: 0;
                cursor: pointer;
            }
            span {
                display: inline-block;
                border-radius: 50%;
                -webkit-transition: .3s all;
                -moz-transition: .3s all;
                -ms-transition: .3s all;
                -o-transition: .3s all;
                transition: .3s all;
                transition: .3s all;
            }
            .center {
                position: absolute;
                top: 4px;
                left: 4px;
                width: 8px;
                height: 8px;
            }
            .border {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 1px solid #999999;
            }
            input[type="radio"]:checked+.center {
                background-color: #20a0ff;
            }
            input[type="radio"]:checked~.border {
                border-color: #20a0ff;
            }
        }
        //多选按钮
        .check-wrap{
            display: block;
            .check{
                margin-right:10px;
            }
        }
    }   
    .search-wrap{
        width: 100%;
        margin:30px 0 20px;
        input{
            width: 100%;
            height: 40px;
            border: 1px solid #cccccc;
            padding:0 10px;
            @include borradius;
        }   
    } 
    .selectlist{
        &>div{
            height: 400px;
            border: 1px solid #cccccc;
            @include borradius;
            overflow: auto;
        }
        ul{
            width: 100%;
            min-height: 100%;
            padding:0 20px;
            overflow: auto;
        }
        li{
            width: 100%;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #cccccc;
        }
    }
    .first{
        width: 200px;
    }
    .second{
        width: 220px;
        margin:0 10px;
    }
    .third{
        width: 520px;
        padding:0 20px;
        &>div{
            width: 100%;
            font-size: 14px;
            border-bottom:1px solid #cccccc; 
        }
        p{
            color: #666666;
            margin:20px 0 10px;
        }
        .check-wrap{
            display: inline-block;
            float: left;
            height: 32px;
            line-height: 30px;
            margin-right: 20px;
            .check{
                vertical-align: -2px;
            }
        }
    }
    .btn-list{
        margin-top: 18px;
        text-align: right;
        font-size: 0;
        button{
            width: 72px;
            height: 36px;
            border:1px solid #CCCCCC;
            @include borradius;
            font-size: 14px;
            color: #cccccc;
        }
        .btn-re{
            background: transparent;
            &:hover{
                color: $color-active;
                border-color: $color-active;
            }
        }
        .btn-conf{
            background: #eeeeee;
            margin-left: 20px;
        }
        .btn-conf.active{
            color: #fff;
            border: none;
            background: $color-active;
            &:hover{
                background:$hovercolor;
            }
        }
    }
}



//3.8 微信二维码弹窗
.win-weichat #container-other{
    position: relative;
    height: 100%;
}
.weichat-wrap{
    // 垂直水平居中
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    margin:auto;
    width: 400px;
    height: 420px;
    background: #fff;
    @include borradius;
    padding:40px 50px 50px;
    color: #48576a;
    text-align: center;
    h4{
        font-size: 16px;
    }
    .first{
        margin-bottom: 10px;
    }
    div{
        width: 100%;
        height: 300px;
        overflow: hidden;
    }
    img{
        width: 300px;
        height: 300px;
    }
}



